import React from 'react';
import styles from './index.less';

const ChartPanel = props => {
  const { children, actions, title, onClose, propStyle } = props;
  return (
    <div className={styles.panelWrap} style={propStyle}>
      <div className={styles.backWrap}>
        <div className={styles.panelHead}>
          <span>{title}</span>
        </div>
        {children}
      </div>

    </div>
  );
};

export default ChartPanel;
